from pydantic import BaseModel, Field


class SearchBlogs(BaseModel):
    blog_category_id: int = Field(..., description="博客类型id")
    title: str | None = Field(None, description="标题")



class BlogDetail(BaseModel):
    blog_id: int = Field(..., description="博客id")
